<!-- 订单商品信息 -->
{{if !empty($module_data) and !empty($module_data['items'])}}
    <p class="am-nbfc am-margin-bottom-sm">
        <strong class="am-icon-bookmark-o"> {{$module_data.order_no}}</strong>
        <strong class="am-icon-circle-thin am-margin-left-lg"> {{$module_data.id}}</strong>
        {{if !empty($module_data['warehouse_name'])}}
            <span class="am-icon-map-marker am-fr"> {{$module_data.warehouse_name}}</span>
        {{/if}}
    </p>
    <hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
    {{foreach $module_data.items as $item}}
        <div class="am-nbfc am-padding-vertical-xs">
            <div class="base am-nbfc">
                <a href="{{:MyUrl('index/goods/index', ['id'=>$item['goods_id']])}}" target="_blank" title="{{$item.title}}">
                    <img src="{{$item['images']}}" class="am-img-thumbnail am-radius am-margin-right-xs am-fl" width="60" height="60" />
                </a>
                <a href="{{:MyUrl('index/goods/index', ['id'=>$item['goods_id']])}}" target="_blank" title="{{$item.title}}" {{if !empty($item['title_color'])}} style="color:{{$item.title_color}};" {{/if}} class="am-nowrap-initial">{{$item.title}}</a>
            </div>
            <div class="other am-nbfc">
                <span class="am-fl am-text-xs am-nowrap-initial">
                    {{if !empty($item.spec_text)}}
                        {{$item.spec_text}}
                    {{/if}}
                </span>
                <div class="am-nbfc am-margin-top-xs">
                    <span>{{$price_symbol}}{{$item.price}}x{{$item.buy_number}}</span>
                    <div class="am-fr">
                        {{if $item['returned_quantity'] gt 0 or $item['refund_price'] gt 0}}
                            <span class="am-text-danger am-margin-left-lg">已退 {{$item.returned_quantity}} / {{$price_symbol}}{{$item.refund_price}}</span>
                        {{/if}}
                    </div>
                </div>
            </div>
        </div>
        <hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-vertical-0" />
    {{/foreach}}
    <div class="am-margin-top-sm">{{$module_data.describe}}</div>
{{/if}}